package com.example.springboot.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zf
 * @我的点赞
 * @since 2021-05-18
 */
@Data
public class Like implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * bl_cms_user,id
     */
    private Integer userId;

    /**
     * 收藏id
     */
    private Integer likeId;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 类型 1：素材
     */
    private Integer type;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除
     */
    private Integer invalid;


}
